<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>6-01 图片image</title>
</head>
<body>
  <svg width="400" height="400">
    <!--
      当设置的尺寸和图片实际尺寸不一样时，高度会撑满，宽度等比例缩放
    -->
    <image xlink:href="./img.jpg" width="200" height="200"></image>
  </svg>
</body>
</html>